package com.cskaoyan.controller;

import com.cskaoyan.bean.BaseRespVo;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

/**
 * 处理访问该请求过程中的异常信息
 */
@RequestMapping("user")
@RestController
public class UserController {

    @RequestMapping("hello")
    public BaseRespVo hello(){
        System.out.println("user hello");
        return BaseRespVo.ok();
    }
}
